package geo.model.events
{
	import flash.events.Event;
	
	import mx.events.FlexEvent;
	
	public class GeoModelEvent extends Event
	{
		/**
		 * Dispatched when the Configurer object was able to load the configuration.xml file.
		 */
		public static const CONFIGURED:String = "configured";
		
		/**
		 * Dispatched when the the Confiugerer object was unable to load the configuration.xml and loaded some defaults.
		 */
		public static const CONFIG_DEFAULT:String = "configDefault";
		
		/**
		 * Workflow has changed in some way.
		 */
		public static const CHANGE:String = "change";
		
		/**
		 * Workflow is ready for processing, meaning all its parts are ready for processing.
		 */
		public static const READY:String = "ready";
		
		/**
		 * A process was added to the workflow.
		 */
		public static const PROCESS_ADDED:String = "processAdded";
		
		/**
		 * A process was removed from the workflow.
		 */
		public static const PROCESS_REMOVED:String = "processRemoved";
		
		/**
		 * An individual process is ready, meaning all necessary parameters are loaded and initially validated.
		 */
		public static const PROCESS_READY:String = "processReady";
		
		
		public function GeoModelEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}

	}
}